package com.hsjk.szwj.module.train.controller.app.vo.collect;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/11/03 17:16
 **/
@Data
public class AppMemberCourseCollectRecordCreateOrUpdateReqVO {
    @NotNull(message = "课程id不能为空")
    private Long courseId;
    @NotNull(message = "收藏数据不能为空")
    private List<MemberCollectRecordInfo> collectRecordInfos;

    @Data
    public static class MemberCollectRecordInfo {
        /**
         * 题目ID
         */
        private Long questionId;
        /**
         * 科目
         */
        private Boolean ifCollect;
    }
}
